<div nz-row>
  <div nz-col [nzSpan]="24" style="text-align: right;margin-bottom: 10px;">
    <button nz-button nzType="primary" (click)="createComponentModal()">
      <i class="icon-sac-usergroup-add"></i>
      新增基线
    </button>
  </div>
</div>

<nz-table #dataTable nzShowSizeChanger [nzFrontPagination]="false" [nzData]="data" [nzLoading]="loading"
  [nzTotal]="total" [(nzPageIndex)]="pageIndex" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getBaselineList()"
  (nzPageSizeChange)="getBaselineList(true)">
  <thead>
    <tr>
      <th nzShowCheckbox></th>
      <th>名称</th>
      <th>描述</th>
      <th>方法</th>
      <th>依据</th>
      <th>备注</th>
      <th>操作</th>
    </tr>
  </thead>
  <tbody>
    <tr *ngFor="let data of dataTable.data">
      <td nzShowCheckbox></td>
      <td>{{ data.name }}</td>
      <td>{{ data.description }}</td>
      <td>{{ data.checkProcess }}</td>
      <td>{{ data.judgmentBasis }}</td>
      <td>{{ data.note }}</td>
      <td>
        <nz-dropdown>
          <a nz-dropdown>
            更多 <i nz-icon type="down"></i>
          </a>
          <ul nz-menu nzSelectable>
            <li nz-menu-item>
              <a (click)="deleteBaseline(data.name,data.baselineNumber)">删除</a>
            </li>
          </ul>
        </nz-dropdown>
      </td>
    </tr>
  </tbody>
</nz-table>